package com.silverbox.shopper.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.silverbox.shopper.entity.DecorationShopConfigDetail;
import com.silverbox.shopper.entity.extend.DecorationShopConfigDetailExtend;

public interface DecorationShopConfigDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DecorationShopConfigDetail record);

    int insertSelective(DecorationShopConfigDetail record);

    DecorationShopConfigDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DecorationShopConfigDetail record);

    int updateByPrimaryKey(DecorationShopConfigDetail record);
    
    /**
     * 获取商家自定义装修配置明细
     * @param storeId
     * @return
     */
	List<DecorationShopConfigDetailExtend> getShopperPageDetail(@Param("storeId") Integer storeId,@Param("decorationType") int decorationType);

	/**
	 * 获取装修平台默认配置
	 * @return
	 */
	List<DecorationShopConfigDetailExtend> getShopperDefaultPageDetail(@Param("decorationType") int decorationType);
}